1
0

Flexi - intensive shader fractal [suksma comp shader mix].milk 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=2
  3. PSVERSION_WARP=2
  4. PSVERSION_COMP=2
  5. [preset00]
  6. fRating=5.000
  7. fGammaAdj=1.000
  8. fDecay=0.500
  9. fVideoEchoZoom=1.030
  10. fVideoEchoAlpha=0.000
  11. nVideoEchoOrientation=0
  12. nWaveMode=0
  13. bAdditiveWaves=0
  14. bWaveDots=0
  15. bWaveThick=0
  16. bModWaveAlphaByVolume=0
  17. bMaximizeWaveColor=0
  18. bTexWrap=0
  19. bDarkenCenter=0
  20. bRedBlueStereo=0
  21. bBrighten=0
  22. bDarken=0
  23. bSolarize=0
  24. bInvert=0
  25. fWaveAlpha=0.001
  26. fWaveScale=0.010
  27. fWaveSmoothing=0.000
  28. fWaveParam=0.000
  29. fModWaveAlphaStart=1.000
  30. fModWaveAlphaEnd=1.000
  31. fWarpAnimSpeed=1.549
  32. fWarpScale=2.940
  33. fZoomExponent=0.02049
  34. fShader=1.000
  35. zoom=1.00000
  36. rot=0.00000
  37. cx=0.500
  38. cy=0.500
  39. dx=0.00000
  40. dy=0.00000
  41. warp=1.45984
  42. sx=1.00000
  43. sy=1.00000
  44. wave_r=0.000
  45. wave_g=0.000
  46. wave_b=0.000
  47. wave_x=0.500
  48. wave_y=0.500
  49. ob_size=0.005
  50. ob_r=0.000
  51. ob_g=0.000
  52. ob_b=0.000
  53. ob_a=1.000
  54. ib_size=0.000
  55. ib_r=1.000
  56. ib_g=1.000
  57. ib_b=1.000
  58. ib_a=1.000
  59. nMotionVectorsX=64.000
  60. nMotionVectorsY=48.000
  61. mv_dx=0.000
  62. mv_dy=0.000
  63. mv_l=5.000
  64. mv_r=1.000
  65. mv_g=1.000
  66. mv_b=1.000
  67. mv_a=0.000
  68. b1n=0.000
  69. b2n=0.000
  70. b3n=0.000
  71. b1x=1.000
  72. b2x=1.000
  73. b3x=1.000
  74. b1ed=0.000
  75. wavecode_0_enabled=0
  76. wavecode_0_samples=495
  77. wavecode_0_sep=4
  78. wavecode_0_bSpectrum=1
  79. wavecode_0_bUseDots=0
  80. wavecode_0_bDrawThick=1
  81. wavecode_0_bAdditive=1
  82. wavecode_0_scaling=100.00000
  83. wavecode_0_smoothing=1.00000
  84. wavecode_0_r=0.010
  85. wavecode_0_g=0.000
  86. wavecode_0_b=0.000
  87. wavecode_0_a=1.000
  88. wave_0_init1=t2 = 0;
  89. wave_0_init2=t3 = 0;
  90. wave_0_init3=t4 = 0;
  91. wave_0_init4=ab = 1;
  92. wave_0_per_frame1=t1 = q1;
  93. wave_0_per_frame2=t2 = q2;
  94. wave_0_per_frame3=t3 = q3;
  95. wave_0_per_frame4=t4 = q4;
  96. wave_0_per_frame5=t5 = q5;
  97. wave_0_per_frame6=t6 = q6;
  98. wave_0_per_frame7=t8 = .07;
  99. wave_0_per_frame8=t7 = 1;
  100. wave_0_per_point1=t7 = -t7;
  101. wave_0_per_point2=pi = asin(1);
  102. wave_0_per_point3=n = 180;
  103. wave_0_per_point4=rd = 0.075;//+(value1*10+1)*((sample*512)%2)*0.02;
  104. wave_0_per_point5=my_x = sin(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*sin(sample*pi*4+(t7+1)*t8);
  105. wave_0_per_point6=my_y = cos(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*cos(sample*pi*4+(t7+1)*t8);
  106. wave_0_per_point7=my_z = sin(sample*pi*n)*rd;
  107. wave_0_per_point8=
  108. wave_0_per_point9=
  109. wave_0_per_point10=
  110. wave_0_per_point11=d = 1.4; // makes the perspective impact
  111. wave_0_per_point12=zoom = 0.85;
  112. wave_0_per_point13=
  113. wave_0_per_point14=w1 = q12;
  114. wave_0_per_point15=w2 = q13;
  115. wave_0_per_point16=w3 = q14;
  116. wave_0_per_point17=
  117. wave_0_per_point18=x1 = cos(w1)*my_x + sin(w1)*my_y;
  118. wave_0_per_point19=y1 = -sin(w1)*my_x + cos(w1)*my_y;
  119. wave_0_per_point20=z1 = my_z;
  120. wave_0_per_point21=
  121. wave_0_per_point22=x2 = cos(w2)*x1 + sin(w2)*z1;
  122. wave_0_per_point23=z2 = -sin(w2)*x1 + cos(w2)*z1;
  123. wave_0_per_point24=y2 = y1;
  124. wave_0_per_point25=
  125. wave_0_per_point26=y3 = cos(w3)*y2 + sin(w3)*z2;
  126. wave_0_per_point27=z3 = -sin(w3)*y2 + cos(w3)*z2;
  127. wave_0_per_point28=x3 = x2;
  128. wave_0_per_point29=
  129. wave_0_per_point30=// perspective calculation
  130. wave_0_per_point31=
  131. wave_0_per_point32=l = sqrt(x3*x3 + y3*y3);
  132. wave_0_per_point33=w = atan2(x3,y3);
  133. wave_0_per_point34=p = tan(asin(1) + atan2(d+z3,l));
  134. wave_0_per_point35=d = sqrt(x3*x3 + y3*y3 + (z3+d)*(z3+d));
  135. wave_0_per_point36=
  136. wave_0_per_point37=my_x = zoom*sin(w)*p;
  137. wave_0_per_point38=my_y = zoom*cos(w)*p;
  138. wave_0_per_point39=
  139. wave_0_per_point40=x = 0.5 + my_x;
  140. wave_0_per_point41=y = 0.5 + my_y;
  141. wave_0_per_point42=
  142. wave_0_per_point43=g = -z3*0.8 + 0.55;
  143. wave_0_per_point44=//b = min(1,max(0,b))*0.5;
  144. wave_0_per_point45=//r = 1-b*2
  145. wave_0_per_point46=//b = (1 - r)*0.1;
  146. wave_0_per_point47=//a = 7/(d*16) - 0.1;
  147. wavecode_1_enabled=0
  148. wavecode_1_samples=445
  149. wavecode_1_sep=4
  150. wavecode_1_bSpectrum=1
  151. wavecode_1_bUseDots=1
  152. wavecode_1_bDrawThick=1
  153. wavecode_1_bAdditive=1
  154. wavecode_1_scaling=100.00000
  155. wavecode_1_smoothing=1.00000
  156. wavecode_1_r=1.000
  157. wavecode_1_g=1.000
  158. wavecode_1_b=1.000
  159. wavecode_1_a=0.990
  160. wave_1_init1=t2 = 0;
  161. wave_1_init2=t3 = 0;
  162. wave_1_init3=t4 = 0;
  163. wave_1_init4=ab = 1;
  164. wave_1_per_frame1=t1 = q1;
  165. wave_1_per_frame2=t2 = q2;
  166. wave_1_per_frame3=t3 = q3;
  167. wave_1_per_frame4=t4 = q4;
  168. wave_1_per_frame5=t5 = q5;
  169. wave_1_per_frame6=t6 = q6;
  170. wave_1_per_frame7=t8 = .09;
  171. wave_1_per_frame8=t7 = 1;
  172. wave_1_per_point1=t7 = -t7;
  173. wave_1_per_point2=pi = asin(1);
  174. wave_1_per_point3=n = 160;
  175. wave_1_per_point4=rd = 0.075;//+(value1*10+1)*((sample*512)%2)*0.02;
  176. wave_1_per_point5=xx = sin(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*sin(sample*pi*4);
  177. wave_1_per_point6=yy = cos(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*cos(sample*pi*4);
  178. wave_1_per_point7=zz = sin(sample*pi*n)*rd;
  179. wave_1_per_point8=
  180. wave_1_per_point9=d = sqrt( xx*xx + yy*yy + zz*zz);
  181. wave_1_per_point10=d1 = 1;
  182. wave_1_per_point11=xx = xx*d1;
  183. wave_1_per_point12=yy = yy*d1;
  184. wave_1_per_point13=zz = zz*d1;
  185. wave_1_per_point14=
  186. wave_1_per_point15=w = -d*t5;
  187. wave_1_per_point16=s1 = sin(t2*1+w);
  188. wave_1_per_point17=s2 = sin(t3*1+w);
  189. wave_1_per_point18=s3 = sin(t4*1+w);
  190. wave_1_per_point19=c1 = cos(t2*1+w);
  191. wave_1_per_point20=c2 = cos(t3*1+w);
  192. wave_1_per_point21=c3 = cos(t4*1+w);
  193. wave_1_per_point22=
  194. wave_1_per_point23=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz;
  195. wave_1_per_point24=x1 = (c1*c2*xx + c1*s2*yy - s1*zz);
  196. wave_1_per_point25=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz);
  197. wave_1_per_point26=
  198. wave_1_per_point27=a = 0.75;
  199. wave_1_per_point28=zoom = 0.5*atan2(a,a+z);//0.5*(1/(z+a));
  200. wave_1_per_point29=x = 0.5 + zoom*x1;
  201. wave_1_per_point30=y = 0.5 + zoom*y1;
  202. wave_1_per_point31=
  203. wave_1_per_point32=pi3 = 3.1415*2*0.3333;
  204. wave_1_per_point33=t = sample*pi*4-2*time;
  205. wave_1_per_point34=c=1.6;
  206. wave_1_per_point35=r = sin(t)*c;
  207. wave_1_per_point36=
  208. wave_1_per_point37=g = sin(t+pi3)*c;
  209. wave_1_per_point38=
  210. wave_1_per_point39=b = sin(t-pi3)*c;
  211. wave_1_per_point40=
  212. wave_1_per_point41=j = 0.71;
  213. wave_1_per_point42=//r = 0.5+xx*j;
  214. wave_1_per_point43=//g = 0.5+yy*j;
  215. wave_1_per_point44=//b = 0.5+zz*j;
  216. wave_1_per_point45=
  217. wave_1_per_point46=r = if(above(r,1),1,r);
  218. wave_1_per_point47=r = if(below(r,0),0,r);
  219. wave_1_per_point48=g = if(above(g,1),1,g);
  220. wave_1_per_point49=g = if(below(g,0),0,g);
  221. wave_1_per_point50=b = if(above(b,1),1,b);
  222. wave_1_per_point51=b = if(below(b,0),0,b);
  223. wave_1_per_point52=a = 1-(z + a)/2;
  224. wave_1_per_point53=
  225. wavecode_2_enabled=0
  226. wavecode_2_samples=512
  227. wavecode_2_sep=4
  228. wavecode_2_bSpectrum=0
  229. wavecode_2_bUseDots=0
  230. wavecode_2_bDrawThick=0
  231. wavecode_2_bAdditive=0
  232. wavecode_2_scaling=0.09348
  233. wavecode_2_smoothing=1.00000
  234. wavecode_2_r=1.000
  235. wavecode_2_g=1.000
  236. wavecode_2_b=1.000
  237. wavecode_2_a=1.000
  238. wave_2_init1=t2 = 0;
  239. wave_2_init2=t3 = 0;
  240. wave_2_init3=t4 = 0;
  241. wave_2_init4=ab = 1;
  242. wave_2_per_frame1=t1 = q1;
  243. wave_2_per_frame2=t2 = q2;
  244. wave_2_per_frame3=t3 = q3;
  245. wave_2_per_frame4=t4 = q4;
  246. wave_2_per_frame5=t5 = q5;
  247. wave_2_per_frame6=t6 = q6;
  248. wave_2_per_point1=s8 = sample*383;
  249. wave_2_per_point2=
  250. wave_2_per_point3=s = 100;//0.3;
  251. wave_2_per_point4=xx = sin(sample*s);//((sample*343)%7 - 3.5)*s;
  252. wave_2_per_point5=zz = cos(sample*s);//((sample*49)%7 - 3.5)*s;
  253. wave_2_per_point6=yy = (sample-0.5);//((sample*7)%7 - 3.5)*s;
  254. wave_2_per_point7=
  255. wave_2_per_point8=d = sqrt( xx*xx + yy*yy + zz*zz);
  256. wave_2_per_point9=d1 = 1/d;
  257. wave_2_per_point10=xx = xx*d1;
  258. wave_2_per_point11=yy = yy*d1;
  259. wave_2_per_point12=zz = zz*d1;
  260. wave_2_per_point13=
  261. wave_2_per_point14=w = 1+0*(d)*(t6);//(sample*sin(time*0.3)*0.02-1);
  262. wave_2_per_point15=s1 = sin(t2*w);
  263. wave_2_per_point16=s2 = sin(t3*w);
  264. wave_2_per_point17=s3 = sin(t4*w);
  265. wave_2_per_point18=c1 = cos(t2*w);
  266. wave_2_per_point19=c2 = cos(t3*w);
  267. wave_2_per_point20=c3 = cos(t4*w);
  268. wave_2_per_point21=
  269. wave_2_per_point22=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz;
  270. wave_2_per_point23=x1 = (c1*c2*xx + c1*s2*yy - s1*zz);
  271. wave_2_per_point24=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz);
  272. wave_2_per_point25=
  273. wave_2_per_point26=a = 2;
  274. wave_2_per_point27=zoom = 0.3*atan2(a-z,a);//0.5*(1/(z+a));
  275. wave_2_per_point28=x = 0.5 + zoom*x1;
  276. wave_2_per_point29=y = 0.5 + zoom*y1;
  277. wave_2_per_point30=
  278. wave_2_per_point31=pi3 = 3.1415*2*0.3333;
  279. wave_2_per_point32=t = -z*13+t5*20;
  280. wave_2_per_point33=c = 10;
  281. wave_2_per_point34=r = sin(t)*c;
  282. wave_2_per_point35=
  283. wave_2_per_point36=g = sin(t+pi3)*c;
  284. wave_2_per_point37=
  285. wave_2_per_point38=b = sin(t-pi3)*c;
  286. wave_2_per_point39=
  287. wave_2_per_point40=j = 0.71;
  288. wave_2_per_point41=//r = 0.5+xx*j;
  289. wave_2_per_point42=//g = 0.5+yy*j;
  290. wave_2_per_point43=//b = 0.5+zz*j;
  291. wave_2_per_point44=
  292. wave_2_per_point45=r = if(above(r,1),1,r);
  293. wave_2_per_point46=r = if(below(r,0),0,r);
  294. wave_2_per_point47=g = if(above(g,1),1,g);
  295. wave_2_per_point48=g = if(below(g,0),0,g);
  296. wave_2_per_point49=b = if(above(b,1),1,b);
  297. wave_2_per_point50=b = if(below(b,0),0,b);
  298. wave_2_per_point51=
  299. wave_2_per_point52=
  300. wave_2_per_point53=a = sigmoid(-z,10)*1.0+0.0;
  301. wavecode_3_enabled=0
  302. wavecode_3_samples=484
  303. wavecode_3_sep=4
  304. wavecode_3_bSpectrum=0
  305. wavecode_3_bUseDots=1
  306. wavecode_3_bDrawThick=0
  307. wavecode_3_bAdditive=0
  308. wavecode_3_scaling=9.94125
  309. wavecode_3_smoothing=1.00000
  310. wavecode_3_r=1.000
  311. wavecode_3_g=1.000
  312. wavecode_3_b=1.000
  313. wavecode_3_a=1.000
  314. wave_3_init1=t2 = 0;
  315. wave_3_init2=t3 = 0;
  316. wave_3_init3=t4 = 0;
  317. wave_3_init4=ab = 1;
  318. wave_3_per_frame1=t1 = q1;
  319. wave_3_per_frame2=t2 = q2;
  320. wave_3_per_frame3=t3 = q3;
  321. wave_3_per_frame4=t4 = q4;
  322. wave_3_per_frame5=t5 = q5;
  323. wave_3_per_frame6=t6 = q6;
  324. wave_3_per_point1=s8 = sample*383;
  325. wave_3_per_point2=
  326. wave_3_per_point3=s = 0.25;
  327. wave_3_per_point4=xx = ((sample*(465))%15 - 8)*s*2;
  328. wave_3_per_point5=yy = ((sample*31)%31 - 16)*s;
  329. wave_3_per_point6=zz = 0;
  330. wave_3_per_point7=
  331. wave_3_per_point8=d = sqrt( xx*xx + yy*yy + zz*zz);
  332. wave_3_per_point9=w = 1;
  333. wave_3_per_point10=
  334. wave_3_per_point11=s1 = sin(t2*1);
  335. wave_3_per_point12=s2 = sin(t3*0);
  336. wave_3_per_point13=s3 = sin(t4*1);
  337. wave_3_per_point14=c1 = cos(t2*1);
  338. wave_3_per_point15=c2 = cos(t3*0);
  339. wave_3_per_point16=c3 = cos(t4*1);
  340. wave_3_per_point17=
  341. wave_3_per_point18=
  342. wave_3_per_point19=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz;
  343. wave_3_per_point20=x1 = (c1*c2*xx + c1*s2*yy - s1*zz);
  344. wave_3_per_point21=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz);
  345. wave_3_per_point22=
  346. wave_3_per_point23=a = 500;
  347. wave_3_per_point24=zoom = 0.05*atan2(a-z,a);//0.5*(1/(z+a));
  348. wave_3_per_point25=x = 0.5 + zoom*x1;
  349. wave_3_per_point26=y = 0.5 + zoom*y1;
  350. wave_3_per_point27=
  351. wave_3_per_point28=pi3 = 3.1415*2*0.3333;
  352. wave_3_per_point29=t = -z*5+t5;
  353. wave_3_per_point30=c = 10;
  354. wave_3_per_point31=r = sin(t)*c;
  355. wave_3_per_point32=
  356. wave_3_per_point33=g = sin(t+pi3)*c;
  357. wave_3_per_point34=
  358. wave_3_per_point35=b = sin(t-pi3)*c;
  359. wave_3_per_point36=
  360. wave_3_per_point37=j = 0.71;
  361. wave_3_per_point38=//r = 0.5+xx*j;
  362. wave_3_per_point39=//g = 0.5+yy*j;
  363. wave_3_per_point40=//b = 0.5+zz*j;
  364. wave_3_per_point41=
  365. wave_3_per_point42=r = if(above(r,1),1,r);
  366. wave_3_per_point43=r = if(below(r,0),0,r);
  367. wave_3_per_point44=g = if(above(g,1),1,g);
  368. wave_3_per_point45=g = if(below(g,0),0,g);
  369. wave_3_per_point46=b = if(above(b,1),1,b);
  370. wave_3_per_point47=b = if(below(b,0),0,b);
  371. wave_3_per_point48=
  372. wave_3_per_point49=
  373. wave_3_per_point50=a = sigmoid(z,5);
  374. shapecode_0_enabled=1
  375. shapecode_0_sides=100
  376. shapecode_0_additive=1
  377. shapecode_0_thickOutline=0
  378. shapecode_0_textured=0
  379. shapecode_0_num_inst=1
  380. shapecode_0_x=0.140
  381. shapecode_0_y=0.130
  382. shapecode_0_rad=0.20388
  383. shapecode_0_ang=0.62830
  384. shapecode_0_tex_ang=0.00000
  385. shapecode_0_tex_zoom=1.17257
  386. shapecode_0_r=1.000
  387. shapecode_0_g=0.000
  388. shapecode_0_b=0.000
  389. shapecode_0_a=1.000
  390. shapecode_0_r2=0.000
  391. shapecode_0_g2=1.000
  392. shapecode_0_b2=0.000
  393. shapecode_0_a2=0.000
  394. shapecode_0_border_r=1.000
  395. shapecode_0_border_g=1.000
  396. shapecode_0_border_b=1.000
  397. shapecode_0_border_a=0.000
  398. shape_0_init1=vx = 0;
  399. shape_0_init2=vy = 0;
  400. shapecode_1_enabled=0
  401. shapecode_1_sides=100
  402. shapecode_1_additive=0
  403. shapecode_1_thickOutline=1
  404. shapecode_1_textured=1
  405. shapecode_1_num_inst=1
  406. shapecode_1_x=0.500
  407. shapecode_1_y=0.500
  408. shapecode_1_rad=0.40271
  409. shapecode_1_ang=0.00000
  410. shapecode_1_tex_ang=0.00000
  411. shapecode_1_tex_zoom=2.23888
  412. shapecode_1_r=1.000
  413. shapecode_1_g=1.000
  414. shapecode_1_b=1.000
  415. shapecode_1_a=1.000
  416. shapecode_1_r2=0.080
  417. shapecode_1_g2=0.000
  418. shapecode_1_b2=0.000
  419. shapecode_1_a2=1.000
  420. shapecode_1_border_r=1.000
  421. shapecode_1_border_g=1.000
  422. shapecode_1_border_b=1.000
  423. shapecode_1_border_a=0.000
  424. shapecode_2_enabled=0
  425. shapecode_2_sides=100
  426. shapecode_2_additive=0
  427. shapecode_2_thickOutline=0
  428. shapecode_2_textured=1
  429. shapecode_2_num_inst=1
  430. shapecode_2_x=0.500
  431. shapecode_2_y=0.500
  432. shapecode_2_rad=1.21525
  433. shapecode_2_ang=0.00000
  434. shapecode_2_tex_ang=2.57611
  435. shapecode_2_tex_zoom=0.55595
  436. shapecode_2_r=1.000
  437. shapecode_2_g=1.000
  438. shapecode_2_b=1.000
  439. shapecode_2_a=1.000
  440. shapecode_2_r2=0.000
  441. shapecode_2_g2=0.000
  442. shapecode_2_b2=0.000
  443. shapecode_2_a2=0.000
  444. shapecode_2_border_r=1.000
  445. shapecode_2_border_g=1.000
  446. shapecode_2_border_b=1.000
  447. shapecode_2_border_a=0.000
  448. shapecode_3_enabled=0
  449. shapecode_3_sides=34
  450. shapecode_3_additive=0
  451. shapecode_3_thickOutline=0
  452. shapecode_3_textured=0
  453. shapecode_3_num_inst=1
  454. shapecode_3_x=0.990
  455. shapecode_3_y=0.990
  456. shapecode_3_rad=0.02558
  457. shapecode_3_ang=0.00000
  458. shapecode_3_tex_ang=0.00000
  459. shapecode_3_tex_zoom=1.00000
  460. shapecode_3_r=0.000
  461. shapecode_3_g=1.000
  462. shapecode_3_b=0.000
  463. shapecode_3_a=1.000
  464. shapecode_3_r2=0.000
  465. shapecode_3_g2=1.000
  466. shapecode_3_b2=0.000
  467. shapecode_3_a2=1.000
  468. shapecode_3_border_r=1.000
  469. shapecode_3_border_g=1.000
  470. shapecode_3_border_b=1.000
  471. shapecode_3_border_a=0.000
  472. per_frame_init_1=x1 = 0;
  473. per_frame_init_2=y1 = 0;
  474. per_frame_1=//q1 = 0;
  475. per_frame_2=v = 0.8;
  476. per_frame_3=j1 = j1*0.95 + sqr(bass*4)*v;
  477. per_frame_4=j2 = j2*0.95 + sqr(mid*4)*v;
  478. per_frame_5=j3 = j3*0.95 + sqr(treb*4)*v;
  479. per_frame_6=
  480. per_frame_7=n = n + j1*0.0052;
  481. per_frame_8=n1 = n1 + j2*0.0052;
  482. per_frame_9=n2 = n2 + j3*0.0052;
  483. per_frame_10=
  484. per_frame_11=
  485. per_frame_12=q12 = n*0.01;
  486. per_frame_13=q13 = n1*0.01;
  487. per_frame_14=q14 = n2*0.01;
  488. per_frame_15=
  489. per_frame_16=k = k*0.99 + sqr(mid_att*2);
  490. per_frame_17=q5 = k*0.00;
  491. per_frame_18=
  492. per_frame_19=zoom = 0.995;
  493. per_frame_20=warp = 0;
  494. per_frame_21=
  495. per_frame_22=rot = -0.00;
  496. per_frame_23=
  497. per_frame_24=w = -0.46;
  498. per_frame_25=q1 = sin(w);
  499. per_frame_26=q2 = cos(w);
  500. per_frame_27=
  501. per_frame_28=w = -n*0.001;
  502. per_frame_29=q3 = sin(w);
  503. per_frame_30=q4 = cos(w);
  504. per_frame_31=q9 = n1*0.004;
  505. per_frame_32=q10 = n2*0.004;
  506. per_pixel_1=r = bass/4;
  507. per_pixel_2=cx1 = 0.5+sin(time*0.618)*0.2;
  508. per_pixel_3=cy1 = 0.5+cos(time*1.618)*0.2;
  509. per_pixel_4=d = sqrt((x-cx1)*(x-cx1)+(y-cy1)*(y-cy1));
  510. per_pixel_5=dir = (bass)*(r*r-d*d)*0.3;
  511. per_pixel_6=x1 = if( above(d,r),0, sin(y-cy1)*dir);
  512. per_pixel_7=y1 = if( above(d,r),0, -sin(x-cx1)*dir);
  513. per_pixel_8=
  514. per_pixel_9=
  515. per_pixel_10=cx1 = 0.5+sin(time*2.618)*0.3;
  516. per_pixel_11=cy1 = 0.5+cos(time*3.14)*0.3;
  517. per_pixel_12=d = sqrt((x-cx1)*(x-cx1)+(y-cy1)*(y-cy1));
  518. per_pixel_13=dir = -(mid)*(r*r-d*d)*0.3;
  519. per_pixel_14=x2 = if( above(d,r),0, sin(y-cy1)*dir);
  520. per_pixel_15=y2 = if( above(d,r),0, -sin(x-cx1)*dir);
  521. per_pixel_16=
  522. per_pixel_17=cx1 = 0.5+sin(-time*2.618)*0.4;
  523. per_pixel_18=cy1 = 0.5+cos(-time*1.14)*0.4;
  524. per_pixel_19=d = sqrt((x-cx1)*(x-cx1)+(y-cy1)*(y-cy1));
  525. per_pixel_20=dir = -(treb)*(r*r-d*d)*0.3;
  526. per_pixel_21=x3 = if( above(d,r),0, sin(y-cy1)*dir);
  527. per_pixel_22=y3 = if( above(d,r),0, -sin(x-cx1)*dir);
  528. per_pixel_23=
  529. per_pixel_24=v = 1;
  530. per_pixel_25=dx = (x1+x2+x3)*v;
  531. per_pixel_26=dy = (y1+y2+y3)*v;
  532. warp_1=`float1 s,c;
  533. warp_2=`
  534. warp_3=`shader_body
  535. warp_4=`{
  536. warp_5=`ret = 0;
  537. warp_6=`
  538. warp_7=`// fern fractal on the red channel
  539. warp_8=`
  540. warp_9=`float2 uv0 = uv.yx*4 -float2(3,0);
  541. warp_10=`float c0 = tex2D(sampler_fc_main, uv0).z; // feeded by the spiral
  542. warp_11=`
  543. warp_12=`float2 uv1 = 0.5 + (uv-0.5)*1.15 + float2(-1,1)*0.05; // main arm
  544. warp_13=`float1 c1 = tex2D(sampler_fc_main, uv1).x;
  545. warp_14=`
  546. warp_15=`float2 uv2 = float2(-1,0) + (float2(-1,1)*uv + float2(1,0) - 0.5)*4; // upper limb
  547. warp_16=`float1 c2 = tex2D(sampler_fc_main, uv2).x;
  548. warp_17=`
  549. warp_18=`float2 uv3 = float2(1,2) + (float2(1,-1)*uv + float2(0,1) - 0.5)*4; // lower limb
  550. warp_19=`float1 c3 = tex2D(sampler_fc_main, uv3).x;
  551. warp_20=`
  552. warp_21=`ret.x = (c0 + c1 + c2 + c3)*1.075; // composition of the red fractal
  553. warp_22=`
  554. warp_23=`// spiral in the blue channel
  555. warp_24=`
  556. warp_25=`float2 uv4 = float2(-1,0) + (float2(-1,1)*uv + float2(1,0) - 0.5)*4;
  557. warp_26=`float1 c4 = tex2D(sampler_fc_main, uv4).x; // feeded by the fern
  558. warp_27=`
  559. warp_28=`s = q1; // sin(w)
  560. warp_29=`c = q2; // cos(w)
  561. warp_30=`float2 scale = 1.05;
  562. warp_31=`float2 uv5 = (uv-0.5)*aspect.xy;
  563. warp_32=` uv5 = scale*float2( c*uv5.x - s*uv5.y, s*uv5.x + c*uv5.y); // rotation
  564. warp_33=` uv5 = 0.5 + uv5*aspect.zw + float2(-0.03,0.03);
  565. warp_34=`
  566. warp_35=`float1 c5 = tex2D(sampler_fc_main, uv5).z;
  567. warp_36=`
  568. warp_37=`ret.z = (c4 + c5)*1.075 - 0.00;
  569. warp_38=`
  570. warp_39=`// mirrored rotated checker in the green channel
  571. warp_40=`
  572. warp_41=`s = q3; // sin(w)
  573. warp_42=`c = q4; // cos(w)
  574. warp_43=`
  575. warp_44=`float2 uv6 = (uv-0.5)*aspect.xy*2.4;
  576. warp_45=` uv6 = scale*float2( c*uv6.x - s*uv6.y, s*uv6.x + c*uv6.y); // rotation
  577. warp_46=` uv6 = 0.5 + uv6*aspect.zw + float2(q9,q10);
  578. warp_47=`
  579. warp_48=` uv6 = 1.0 - abs( frac( uv6 * 0.5 ) * 2.0 - 1.0 ); // Eo.S' mirror code
  580. warp_49=`
  581. warp_50=`float c6 = tex2D(sampler_fc_main,uv6).z; // feeded by the spiral
  582. warp_51=`float c7 = tex2D(sampler_fc_main,uv6).y;
  583. warp_52=`
  584. warp_53=`ret.y = lerp(max(c6,c7-0.15),tex2D(sampler_fc_main,uv_orig).y-0.004,0.6); // motion blur
  585. warp_54=`
  586. warp_55=`}
  587. comp_1=`// tribute to suksma!
  588. comp_2=`
  589. comp_3=`shader_body
  590. comp_4=`{
  591. comp_5=` float2 uv2;
  592. comp_6=`
  593. comp_7=` float4 c = float4(1,0.4,0.15,0.1);
  594. comp_8=`
  595. comp_9=` uv2 = uv + float2(1,0)*texsize.zw;
  596. comp_10=` float gx1 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w;
  597. comp_11=` uv2 = uv + float2(-1,0)*texsize.zw;
  598. comp_12=` float gx2 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w;
  599. comp_13=`
  600. comp_14=` uv2 = uv + float2(0,1)*texsize.zw;
  601. comp_15=` float gy1 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w;
  602. comp_16=` uv2 = uv + float2(0,-1)*texsize.zw;
  603. comp_17=` float gy2 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w;
  604. comp_18=`
  605. comp_19=` float3 g = normalize(float3(gx1-gx2, gy1-gy2, 0.14));
  606. comp_20=`
  607. comp_21=` ret = 0.5 + 0.5*g;
  608. comp_22=` ret *= saturate(length(ret.xy-0.5)*5);
  609. comp_23=` ret = ret.xxy;
  610. comp_24=` ret += 1.15;
  611. comp_25=` ret *= lerp(ret,ret*(GetBlur3(uv)-GetBlur1(uv)*treb_att),pow(hue_shader.xzy,bass_att));
  612. comp_26=` ret *= ret;
  613. comp_27=`
  614. comp_28=` //ret *= 1.5; //old gamma effect
  615. comp_29=`}